Page({
  data: {
    studyProgress: {
      wordGame: {
        completedLevels: 0,
        totalLevels: 20,
        lastPlayTime: null
      },
      wordRead: {
        completedWords: 0,
        totalWords: 100,
        lastStudyTime: null
      }
    }
  },

  onShow() {
    // 从缓存读取学习进度
    const progress = wx.getStorageSync('studyProgress');
    if (progress) {
      this.setData({ studyProgress: progress });
    }
  },

  // ... 其他现有方法
}); 